<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>

<div class="middle_right">
	<div>新闻列表：</div>

 	  <s:iterator value="newss" status="itStatus">
	  		<li>
	  			<s:property value="#itStatus.count" />
	  			<s:property value="title"/>
	  			
	  			<s:property value="newsType.name"/>
	  			
	  			<s:property value="hits"/>
	  			<s:property value="add_time"/>
	  			
	  			<s:if test='news_types==0' >文字 </s:if>
	  			<s:elseif test='news_types==1' >图片</s:elseif>
	  			<s:else>视频</s:else>
	  			
	  			<s:if test='is_top==1' >√ </s:if>
	  			<s:else>×</s:else>
	  			
	  			<s:if test='is_quality==true' >√ </s:if>
	  			<s:else>×</s:else>
	  			
	  			<s:url action="news_goUpdate" id="myUrl">
				       <s:param name="id" value="id"/>
				    </s:url>	
		        <a href='<s:property value="#myUrl" />'>修改 </a>
	  		</li>
		</s:iterator>
		<s:div><s:property value="pageParam"/>&nbsp;&nbsp;<s:property value="pageStr"  escape="false"/></s:div>
</div>
